Vector

Undocumented in source.

Constructors

this
this(T x, T y)
Undocumented in source.
this
this(T[2] v)
Undocumented in source.
this
this(T x, T y, T z)
Undocumented in source.
this
this(T[3] v)
Undocumented in source.
this
this(T x, T y, T z, T w)
Undocumented in source.
this
this(T[4] v)
Undocumented in source.

Members

Aliases

opBinaryRight
alias opBinaryRight = opBinary
Undocumented in source.

Functions

axisAngle
VectorN axisAngle(VectorN axis, float angle)
Undocumented in source. Be warned that the author may not have intended to support it.
cross
VectorN cross(VectorN other)
Undocumented in source. Be warned that the author may not have intended to support it.
distance
float distance(VectorN other)
Undocumented in source. Be warned that the author may not have intended to support it.
dot
float dot(VectorN other)
Undocumented in source. Be warned that the author may not have intended to support it.
mag
float mag()
Undocumented in source. Be warned that the author may not have intended to support it.
magSquare
float magSquare()
Undocumented in source. Be warned that the author may not have intended to support it.
normalize
void normalize()
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
VectorN opAssign(VectorN other)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
VectorN opAssign(T[N] other)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
VectorN opBinary(VectorN rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
VectorN opBinary(float rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
T[N] opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
auto ref opIndex(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexUnary
T opIndexUnary(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
auto opOpAssign(VectorN other)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
auto opOpAssign(float value)
Undocumented in source. Be warned that the author may not have intended to support it.
opUnary
auto opUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
project
VectorN project(VectorN reference)
Undocumented in source. Be warned that the author may not have intended to support it.
rotateZ
VectorN rotateZ(float radians)
Undocumented in source. Be warned that the author may not have intended to support it.
unit
VectorN unit()
Undocumented in source. Be warned that the author may not have intended to support it.
w
auto ref w()
Undocumented in source. Be warned that the author may not have intended to support it.
x
auto ref x()
Undocumented in source. Be warned that the author may not have intended to support it.
xy
Vector2 xy()
Undocumented in source. Be warned that the author may not have intended to support it.
xy
Vector2 xy(Vector2 v)
Undocumented in source. Be warned that the author may not have intended to support it.
xyz
Vector3 xyz()
Undocumented in source. Be warned that the author may not have intended to support it.
xyz
Vector3 xyz(Vector3 v)
Undocumented in source. Be warned that the author may not have intended to support it.
y
auto ref y()
Undocumented in source. Be warned that the author may not have intended to support it.
yx
Vector2 yx()
Undocumented in source. Be warned that the author may not have intended to support it.
yx
Vector2 yx(Vector2 v)
Undocumented in source. Be warned that the author may not have intended to support it.
z
auto ref z()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

Dot
float Dot(Vector!N first, Vector!N second)
Undocumented in source. Be warned that the author may not have intended to support it.
zero
VectorN zero()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta